package com.nuoniu.sibanyun.userThread;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;

/**
 * @ClassName UserInfo
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/5/29 11:21
 **/
@Data
public class UserInfo implements Serializable {

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("角色ID")
    private ArrayList<Integer> roleIds;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("租户ID")
    private Integer companyId;

    @ApiModelProperty("租户名称")
    private String companyName;

    @ApiModelProperty("部门ID")
    private Integer officeId;

    @ApiModelProperty("部门名称")
    private String officeName;

    @ApiModelProperty("权限范围")
    private DataScope dataScope;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("个性签名")
    private String sign;

    @ApiModelProperty("最后登陆时间")
    private LocalDateTime lastLoginDate;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("总佣金")
    private BigDecimal totalCommission;

    @ApiModelProperty("已提现佣金")
    private BigDecimal withdrawalCommission;

    @ApiModelProperty("银行账号")
    private String bankAccount;

    @ApiModelProperty("银行卡名称")
    private String bankName;

    @ApiModelProperty("是否来自移动端的请求")
    private Boolean isMobile = false;

    @ApiModelProperty(value = "外呼应用ID")
    private Integer callAppId;

}
